package com.ccrfid.rmc6.service.business.prison.rollcall;

import com.ccrfid.rmc6.entity.business.prison.rollcall.PrisonRollcallResultDetailEntity;
import com.ccrfid.rmc6.entity.business.prison.rollcall.PrisonRollcallResultEntity;
import com.ccrfid.rmc6.entity.business.prison.rollcall.PrisonRollcallTaskTimeEntity;
import com.ccrfid.rmc6.pojo.dto.prison.rollcall.PrisonRollcallPoliceDto;
import com.ccrfid.rmc6.pojo.dto.prison.rollcall.PrisonRollcallResultDto;
import com.ccrfid.rmc6.repository.search.SearchCriteria;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.sql.Time;
import java.util.List;

public interface PrisonRollcallService {
    //获取点名任务整点列表
    List<PrisonRollcallTaskTimeEntity> getRollcallTaskTimeList();

    //新增点名任务整点信息
    PrisonRollcallTaskTimeEntity createRollcallTaskTime(Time timeValue);

    //删除点名任务整点信息
    Boolean deleteRollcallTaskTime(Time timeValue);

    //查询点名记录
    Page<PrisonRollcallResultEntity> getRollcallResultList(SearchCriteria criteria, Pageable pageable);

    //查询某个点名记录的详细点名信息
    Page<PrisonRollcallResultDetailEntity> getRollcallDetailResult(SearchCriteria criteria, Pageable pageable);

    //提交点名结果
    Boolean uploadRollcallResult(PrisonRollcallResultDto resultDto);

    //获取所有点名警员信息
    List<PrisonRollcallPoliceDto> getRollcallPolicemanList();
}
